package day04;

import java.util.Random;
import java.util.Scanner;

public class StDemo {
    public static void main(String[] args) {
        Random ran=new Random();
        int ne=ran.nextInt();
        int ne2=ne%10;
        System.out.println(ne);
        System.out.println(ne2);

    }
}
